package pers.cz.mapper;

import pers.cz.model.BusinessKnowLedgeTree;
import pers.cz.model.BusinessKnowLedgeTreeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BusinessKnowLedgeTreeMapper {
    int countByExample(BusinessKnowLedgeTreeExample example);

    int deleteByExample(BusinessKnowLedgeTreeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(BusinessKnowLedgeTree record);

    int insertSelective(BusinessKnowLedgeTree record);

    List<BusinessKnowLedgeTree> selectByExample(BusinessKnowLedgeTreeExample example);

    BusinessKnowLedgeTree selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") BusinessKnowLedgeTree record, @Param("example") BusinessKnowLedgeTreeExample example);

    int updateByExample(@Param("record") BusinessKnowLedgeTree record, @Param("example") BusinessKnowLedgeTreeExample example);

    int updateByPrimaryKeySelective(BusinessKnowLedgeTree record);

    int updateByPrimaryKey(BusinessKnowLedgeTree record);

    List<BusinessKnowLedgeTree> selectAllBusinessNode();
}
